Skip to content

Conversation

@namgigun
Copy link
Collaborator

@namgigun namgigun commented Oct 14, 2025

📌 개요

  • 운영환경 추가 설정
  • 파일 업로드 EnityType 수정
  • 파일 매핑 전략에 따른 기능 추가

🔨 작업 내용

운영환경 추가 설정

  • mulipart로 파일 업로드 시, 최대 허용 크기 설정 (최대 10MB)
  • Graceful Shutdown 적용

EntityType 수정

  • 기존 : POST, PROFILE, AVATAR
  • 변경 : POST, PROFILE, STUDY_ROOM

파일 매핑 전략에 따른 기능 추가

  • AttachmentMappingRepository에 findAllByEntityTypeAndEntityId 메서드 추가

🔗 관련 이슈

Closes #269

📝 참고 사항

✅ 체크리스트

  • 기능 동작 확인
  • 테스트 코드 작성
  • 문서/주석 추가 및 최신화

- mulipart로 파일 업로드 시, 최대 허용 크기 설정
- Graceful Shutdown 적용
기존 : POST, PROFILE, AVATAR
변경 : POST, PROFILE, STUDY_ROOM
- deleteAllByEntityTypeAndEntityId (EntityType과 EnityId에 해당하는 파일 매핑 정보 모두 삭제)
@github-actions github-actions bot changed the title feat: 파일 업로드 엔티티 매핑 설정 및 운영환경 Graceful ShutDown 추가 feat: 파일 업로드 엔티티 매핑 설정 및 운영환경 Graceful ShutDown 추가 (#269) Oct 14, 2025
- findByEntityTypeAndEntityId -> findAllByEntityTypeAndEntityId
@namgigun namgigun merged commit 3570b8d into dev Oct 14, 2025
4 checks passed
@github-actions github-actions bot deleted the feat/269 branch October 14, 2025 05:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants